import request from '@/utils/request'

// 获取良缘平台统计数据
export function getDashboardStatistics() {
  return request({
    url: '/dashboard/statistics',
    method: 'get'
  })
}

// 获取用户统计数据
export function getUserStatistics(params) {
  return request({
    url: '/dashboard/user-statistics',
    method: 'get',
    params
  })
}

// 获取游戏互动统计数据
export function getGameStatistics(params) {
  return request({
    url: '/dashboard/game-statistics',
    method: 'get',
    params
  })
}

// 获取匹配统计数据
export function getMatchStatistics(params) {
  return request({
    url: '/dashboard/match-statistics',
    method: 'get',
    params
  })
}

// 获取平台收入统计数据
export function getRevenueStatistics(params) {
  return request({
    url: '/dashboard/revenue-statistics',
    method: 'get',
    params
  })
}

// 获取实时数据
export function getRealTimeData() {
  return request({
    url: '/dashboard/realtime',
    method: 'get'
  })
}
